home *** CD-ROM | disk | FTP | other *** search
/ Treccani Italiana Di Scienze Lettere Ed Arti / [Enciclopedia] Treccani Italiana di scienze lettere ed arti.iso / pc / data / xxi_appendice_dvd.swf / scripts / __Packages / CDirectorProspettiva.as < prev    next >
Text File  |  2007-11-08  |  1KB  |  39 lines

  1. class CDirectorProspettiva extends Object
  2. {
  3.    function CDirectorProspettiva(inId)
  4.    {
  5.       super();
  6.       this.id = inId;
  7.       this.lemmiCorrelati = new Array();
  8.       this.immagini = new Array();
  9.    }
  10.    function SetProspettiva(inId, inTipo, inTitolo, inFilename, inNumeroImmagini, inNumeroClip, inCategoriaBreve, inCategoria)
  11.    {
  12.       this.id = inId;
  13.       this.tipo = inTipo;
  14.       this.titolo = inTitolo;
  15.       this.file = inFilename;
  16.       this.numeroImmagini = inNumeroImmagini;
  17.       this.numeroClip = inNumeroClip;
  18.       this.categoriaBreve = inCategoriaBreve;
  19.       this.categoria = inCategoria;
  20.    }
  21.    function AddLemmaCorrelato(codice, tipo, titolo)
  22.    {
  23.       var _loc2_ = new Object();
  24.       _loc2_.codice = codice;
  25.       _loc2_.tipo = tipo;
  26.       _loc2_.titolo = titolo;
  27.       _loc2_.label = titolo;
  28.       this.lemmiCorrelati.push(_loc2_);
  29.    }
  30.    function AddImmagine(id, titolo, inFile)
  31.    {
  32.       var _loc2_ = new Object();
  33.       _loc2_.id = id;
  34.       _loc2_.titolo = titolo;
  35.       _loc2_.file = inFile;
  36.       this.immagini.push(_loc2_);
  37.    }
  38. }
  39.